from socket import *


sockfd = socket()
sockfd.bind(('127.0.0.1',80))
sockfd.connect(('127.0.0.1',8888))
sockfd.send(b'hello')
sockfd.close()